package com.designpattern.structure.agent.cglibagent;

/**
 * @author Administration
 * @date 2021/10/15 - 14:02 - 星期五
 * @project lambda
 * @package com.designpattern.structure.agent.cglibagent
 * @by 晨
 */
public class test {
    public static void main(String[] args) {
        //创建代理工厂对象
        ProxyFactory factory = new ProxyFactory();
        //获取代理对象
        TrainStation proxyObject = factory.getProxyObject();

        proxyObject.sell();
    }
}
